﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Snowdreamist.Threading
{
    public class JobCompletedEventArgs : EventArgs
    {
        public JobCompletedEventArgs(BackgroundJob job, Exception error)
        {
            this.Job = job;
            this.Error = error;
        }

        public BackgroundJob Job { get; private set; }

        public Exception Error { get; private set; }
    }
}
